-
Home
-
Tiered Pricing Table for WooCommerce
-
3.3.4
-
Code
-
Classes
- GlobalTieredPricingAddon
| Total Complexity |
39 |
| Dependencies |
7 |
| Dependents |
1 |
| Total lines |
182 |
| Lines of code |
119 |
| Logical lines of code |
67 |
| Comment lines |
18 |
| Methods |
11 |
| Properties |
2 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getPrice() |
A |
46 |
16 |
39 |
| addPricing() |
S |
54 |
7 |
22 |
| run() |
S |
55 |
2 |
20 |
| adjustPrice() |
S |
68 |
3 |
7 |
| showMessageOnProductsTieredPricingTab() |
S |
71 |
2 |
6 |
| adjustSalePrice() |
S |
74 |
2 |
4 |
| adjustRegularPrice() |
S |
74 |
2 |
4 |
| getCurrentUserRoles() |
S |
68 |
2 |
8 |
| getName() |
S |
79 |
1 |
3 |
| getDescription() |
S |
79 |
1 |
3 |
| getSlug() |
S |
82 |
1 |
3 |